package com.park.model;

import java.util.ArrayList;
import java.util.List;

public class UserList {
    private Long id;

    private String userListname;

    private String password;

    private String avatar;

    private String sex;

    private String email;

    private String phone;
    private Integer status;
    private Long parentId;
    private String roleName;
    private String parkName;
    private List<UserList> children = new ArrayList<UserList>();
    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    private List<Permissions> authorities;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
    public String getUserListname() {
		return userListname;
	}

	public void setUserListname(String userListname) {
		this.userListname = userListname;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public List<Permissions> getAuthorities() {
		return authorities;
	}

	public void setAuthorities(List<Permissions> authorities) {
		this.authorities = authorities;
	}


    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

	public Long getParentId() {
		return parentId;
	}

	public void setParentId(Long parentId) {
		this.parentId = parentId;
	}

	public String getRoleName() {
		return roleName;
	}

	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}

	public String getParkName() {
		return parkName;
	}

	public void setParkName(String parkName) {
		this.parkName = parkName;
	}

	public List<UserList> getChildren() {
		return children;
	}

	public void setChildren(List<UserList> children) {
		this.children = children;
	}

	@Override
	public String toString() {
		return "UserList [id=" + id + ", userListname=" + userListname + ", password=" + password + ", avatar=" + avatar
				+ ", sex=" + sex + ", email=" + email + ", phone=" + phone + ", status=" + status + ", parentId="
				+ parentId + ", roleName=" + roleName + ", parkName=" + parkName + ", children=" + children
				+ ", authorities=" + authorities + "]";
	}
    
}